package com.ruoyi.project.cms.knowledgemanagement.service.impl;

import com.ruoyi.project.cms.knowledgemanagement.domain.Knowledge;
import com.ruoyi.project.cms.knowledgemanagement.mapper.KnowledgeMapper;
import com.ruoyi.project.cms.knowledgemanagement.service.IKnowledgeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class KnowledgeServiceImpl implements IKnowledgeService {

    @Autowired
    private KnowledgeMapper knowledgeMapper;

    /**
     * 查询所有
     *
     * @param knowledge
     * @return
     */
    @Override
    public List<Knowledge> findMore(Knowledge knowledge) {
        return knowledgeMapper.selectKnowledge(knowledge);
    }




}
